//
//  LXLineChartView.h
//  bgms_d
//
//  Created by lachesis-zhu on 03/07/2017.
//  Copyright © 2017 lachesis-zhu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LXFoodItem.h"
@interface LXLineChartView : UIView

@property (nonatomic, assign) NSInteger numOfX;

/** Y轴坐标数据 */
@property (nonatomic, strong) NSArray *dataArrOfY;
/** X轴坐标数据 */
@property (nonatomic, strong) NSArray *dataArrOfX;
/** 左边数据 */
@property (nonatomic,strong) NSArray *leftDataArr;
/** 右边数据 没有不用传递 */
@property (nonatomic,strong) NSArray *rightDataArr;
/** X轴标题 */
@property (nonatomic, strong) UILabel *titleOfX;
/** Y轴标题 */
@property (nonatomic, strong) UILabel *titleOfY;

@property (nonatomic, copy) NSString *titleOfXStr;
@property (nonatomic, copy) NSString *titleOfYStr;

- (void)beginDrawView:(NSString *)drawData;
- (BOOL)reDrawView:(NSArray *)array;
- (void)drawXandY;
@end
